package cn.edu.seig;

import org.springframework.stereotype.Component;

/**
 * 实体类User
 */

@Component
public class User {
	private Integer userId; //用户id
	private String userName; //用户名
	private String password; //密码

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "User{" +
				"userId=" + userId +
				", userName='" + userName + '\'' +
				", password='" + password + '\'' +
				'}';
	}
}
